﻿using IndustrialCommunication.Interfaces;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;

namespace IndustrialCommunication.Configs
{
    public class SocketOptions : ISocketOptions
    {
        public IPEndPoint Server { get; set; }
        public AddressFamily AddressFamily { get; set; }
        public SocketType SocketType { get; set; }
        public ProtocolType ProtocolType { get; set; }
        public int? SendTimeout { get; set; }
        public int? ReceiveTimeout { get; set; }
        public int? ConnectTimeout { get; set; }
        public int? ReceiveLength { get; set; }
        public int? SendLength { get; set; }
    }
}
